]> dgit.raspbian.org Git - gnome-shell.git/commit
Delegate mode information to a dedicated object
authorFlorian Müllner <fmuellner@gnome.org>
Wed, 16 May 2012 22:26:44 +0000 (00:26 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Tue, 22 May 2012 17:42:27 +0000 (19:42 +0200)
commit3d2622418040ff49659df335ccac646496c9bda4
tree4571127ef2ce8d32ce1b39b83f3b3fce53ff01d5
parent940ddb104c1bb6c79ab6b830735366f3d5650ba2
Delegate mode information to a dedicated object

Rather than accessing global.session_type / global.session_mode
all over the place, delegate mode information to a dedicated
sessionMode object. While not very useful for now, we will replace
checks for a particular mode with checks for particular properties
that sessionMode defines based on global.session_mode.

https://bugzilla.gnome.org/show_bug.cgi?id=676156
js/Makefile.am
js/ui/main.js
js/ui/panel.js
js/ui/popupMenu.js
js/ui/sessionMode.js [new file with mode: 0644]
js/ui/status/keyboard.js